win32: Ensure we always send a configure event when changing size/pos
authorAlexander Larsson <alexl@redhat.com>
Wed, 26 Oct 2011 19:46:19 +0000 (21:46 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 10 Nov 2011 16:41:04 +0000 (17:41 +0100)
commit2dbc05f756c9cb28ed2a966489e136bb5746c089
tree29500c78ac3d593ba2ec81c270f5dcfcba7f2396
parent4c061a527006ac8074e78d05cbd294672901aceb
win32: Ensure we always send a configure event when changing size/pos

There are some cases where we don't get a WINDOWPOSCHANGE such that
we generate a configure event, even if we called gdk_window_move_resize()
or similar. For instance:
* The window is fullscreen
* The window is maximized
* The specified pos/size is the same as the current one

However, as per X11 ConfigureNotify semantics we *always* want one, or
we could run into issue like e.g. bug #537296 where we're waiting for
the CONFIGURE to call gdk_window_thaw_toplevel_updates_libgtk_only().
gdk/win32/gdkevents-win32.c
gdk/win32/gdkprivate-win32.h
gdk/win32/gdkwindow-win32.c